import Vue from 'vue'
import Vuex from "vuex"
Vue.use(Vuex);
const state = {
    user_name:''
}
const mutations = {
    updatesUserName(state,value){
        console.log(value);
        state.user_name = value;
    }
}
const actions = {

}
export default new Vuex.Store({
    state,
    mutations,
    actions
})